package fields;

import game.Player;

public class Jail extends Field {

	private int bonus;
	
public Jail (int number, String name, int bonus) {
		
		super (number, name);
		fieldValue=7;
		this.bonus=bonus;
		
	}

public void landOnField(Player s)
{
	//s.deposit(bonus);
}

public int getBonus()
{
	return bonus;
}
	
}
